package com.erp.products.productlist.domain;

import java.math.BigDecimal;
import com.erp.common.annotation.Excel;
import com.erp.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 商品信息对象 erp_products
 *
 * @author ruoyi
 * @date 2025-09-01
 */

@Data
public class ErpProducts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品编号，主键且自增，从1开始 */
    private Long productId;

    /** 商品图像 */
    @Excel(name = "商品图像")
    private String productImage;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 商品类目 */
    @Excel(name = "商品类目")
    private String category;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private String productType;

    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal price;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 商品属性 */
    @Excel(name = "商品属性")
    private String productAttribute;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 商品详情描述 */
    @Excel(name = "商品详情描述")
    private String productDetail;

    @Override
    public String toString() {
        return "ErpProducts{" +
                "productId=" + productId +
                ", productImage='" + productImage + '\'' +
                ", productName='" + productName + '\'' +
                ", category='" + category + '\'' +
                ", productType='" + productType + '\'' +
                ", price=" + price +
                ", unit='" + unit + '\'' +
                ", productAttribute='" + productAttribute + '\'' +
                ", status='" + status + '\'' +
                ", productDetail='" + productDetail + '\'' +
                '}';
    }
}